LinkedHashMap for循环遍历 您所在的位置:网站首页 java linkedhashmap遍历 LinkedHashMap for循环遍历

LinkedHashMap for循环遍历

2024-01-05 22:29| 来源: 网络整理| 查看: 265

Map futures = new LinkedHashMap();

futures.put(Line_Num, executorService.submit(api));

for (Map.Entry entry : futures.entrySet()) {                                 String futuresKey = entry.getKey();                                 Future futuresValue = entry.getValue();                                 try {                                     String[] resStr = futuresValue.get();                                     if (null != resStr) {                                         String strKey = resStr[0];                                         String strResult = resStr[1];

                                     }

                                     }



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有